import request from '../../utils/request';
/** 贷后 管理  */

//  列表查询 
export function getList (params){
    console.log(params)
    return request({
        url:"/sys/iaPostLoan/findPage.do",
        method: 'get',
        params: params
    });

};

// 贷后管理 还款列表
export function getDetailsOpList (params){
    console.log(params)
    return request({
        url:"/sys/iaPostLoan/findPeriodsPage.do",
        method: 'get',
        params: params
    });

};


//还款配置：获取贷后信息
export function getOpPostLoanInfo (params){
    return request({
        url:"/sys/iaPostLoan/getDetail.do",
        method: 'get',
        params: params
    });
};


// 还款配置：编辑贷后信息
export function opPostLoanInfo (params){
    return request({
        url:"/sys/iaPostLoan/update.do",
        method: 'POST',
        data: params,
        headContype:true
    });
};


// 还款操作 
export function opRefund(params){
    return request({
        url:"/sys/iaPostLoan/refund.do",
        method: 'POST',
        params: params
    });
};

